package cn.edu.sctu.sctu_lysd.biz;

import android.widget.TextView;

import cn.edu.sctu.sctu_lysd.base.BasePresenter;
import cn.edu.sctu.sctu_lysd.base.BaseView;
import cn.edu.sctu.sctu_lysd.bean.JsonBaseBeen;
import cn.edu.sctu.sctu_lysd.bean.JsonBaseListBean;
import cn.edu.sctu.sctu_lysd.bean.ParcelData;
import cn.edu.sctu.sctu_lysd.bean.UserProfile;

/**
 * Created by wangfuxin on 2017-04-14.
 */

public interface GetUserMessage {

    interface Presenter extends BasePresenter {

        String getInputString(TextView view);

        void refreshToken();

        void getChatToken(long userId);

        void getUserProfile();

    }



    interface View extends BaseView<GetUserMessage.Presenter> {

        void getUserProfileSuccess(UserProfile data);

        void getUserProfileFailed();

        void refreshTokenSuccess();

        void refreshTokenFailed();

        void getChatTokenSuccess(String chatToken);

        void getChatTokenFailed();
    }

}
